Device comprising force sensors

ABSTRACT

A device, comprising: a pair of force sensors located for detecting a user squeeze input; and a controller operable in a squeeze detection operation to detect the user squeeze input based on a cross-correlation between respective sensor signals originating from the pair of force sensors.

FIELD OF DISCLOSURE

The present disclosure relates in general to a device comprising force sensors. Such a device may be a portable electrical or electronic device.

The present disclosure extends to a controller of the device and to corresponding methods and computer programs.

BACKGROUND

Force sensors are known as possible input transducers for devices such as portable electrical or electronic devices, and can be used as alternatives to traditional mechanical switches. Such sensors detect forces on the device to determine user interaction, e.g. touches or presses of the device (user force inputs).

It is desirable to process the sensor signals originating from such force sensors in a convenient and useful manner.

SUMMARY

According to a first aspect of the present disclosure, there is provided a device, comprising: a pair of force sensors located for detecting a user squeeze input; and a controller operable in a squeeze detection operation to detect the user squeeze input based on a cross-correlation between respective sensor signals originating from the pair of force sensors.

The device may be a portable electrical or electronic device such as a portable telephone or computer. Other example devices are mentioned later herein. Using cross-correlation as disclosed herein provides a robust way of detecting a user squeeze input.

The user squeeze input may comprise a user applying forces: with one or both of their hands; and/or which together compress the device; and/or at at least two different locations on the device at the same time; and/or on at least two different sides or edges of the device at the same time; and/or on at least two opposite or opposing sides or edges of the device at the same time.

The pair of force sensors may be provided: at different locations on the device; and/or on the same side or edge of the device, or on different sides or edges of the device, or on opposite or opposing sides or edges of the device; and/or on the device at locations according to anthropometric measurements of a human hand.

The squeeze detection operation may comprise determining a cross-correlation value based on the sensor signals and detecting the user squeeze input based on the cross-correlation value. Determining the cross-correlation value may comprise determining a sliding dot product, a cross-product, a product, a sum or a combination of the sensor signals originating from the pair of force sensors.

The respective sensor signals originating from the pair of force sensors may be digital signals. The squeeze detection operation may comprise determining the cross-correlation value on a sample-by-sample basis.

For a given sample, the cross-correlation value may be generated as an updated cross-correlation value by updating an existing cross-correlation value (which was the updated cross-correlation value for the previous sample) based on a new cross-correlation value determined based on the sensor signals for that sample. The updated cross-correlation value may be based on the existing cross-correlation value to an extent defined by a smoothing parameter. The updated cross-correlation value may be based on a combination or sum of a proportion (e.g. 90%) of the existing cross-correlation value and a proportion (e.g. 10%) of the new cross-correlation value, those proportions defined by the smoothing parameter. The cross-correlation value may be generated as a smoothed cross-product of the respective sensor signals originating from the pair of force sensors.

The squeeze detection operation may comprise: at least one of normalising, filtering and bounding the cross-correlation value; and/or normalising the cross-correlation value to a maximum expected force value (i.e. to a value representative of a maximum expected force applied to a force sensor); and/or converting the cross-correlation value into a percentage or a fraction of a defined maximum value (e.g. 1 or 100); and/or comparing the cross-correlation value with a threshold value (e.g. a squeeze threshold, above which it is determined that a user squeeze input has occurred).

The squeeze detection operation may comprise determining whether the cross-correlation value exceeds the threshold value. The threshold value may be controlled based on one or more of a device configuration, a device setting and a user input.

The squeeze detection operation may comprise determining whether the cross-correlation value exceeds the threshold value for a threshold period of time, or by a threshold percentage of the threshold period of time. Thus, it may be that it is not sufficient for the cross-correlation value to exceed the threshold value only briefly. The threshold period and/or the threshold percentage may be controlled based on one or more of a device configuration, a device setting and a user input.

The device may comprise plurality of pairs of force sensors, each pair located for detecting a corresponding user squeeze input. The controller may be operable, for each pair of force sensors, to carry out a said squeeze detection operation to detect the corresponding user squeeze input.

The device may comprise at least two said pairs of force sensors located on the device for detecting the same user squeeze input. The controller may be operable to detect the user squeeze input corresponding to those pairs of force sensors based on a combination of the squeeze detection operations carried out for those pairs, optionally by combining cross-correlation values determined in respect of each of those pairs.

At least one said pair of force sensors may be part of a group of force sensors located on the device for detecting a user squeeze input corresponding to that group. The squeeze detection operation, for that group, may comprise comparing respective sensor signals originating from at least three of the force sensors of the group.

The group may comprise force sensors s1, s2, s3 and s4. The sensor signals originating from the group may be digital signals s1(n), s2(n), s3(n) and s4(n) corresponding respectively to the force sensors s1, s2, s3 and s4 and each comprising a series of numbered samples, where n is the sample number. The squeeze detection operation for the group may comprise calculating correlation coefficients ρ₁(n) and ρ₂(n) based on the equations: ρ₁(n)=λ·ρ₁(n−1)+(1−λ)·s1(n)·s2(n) ρ₂(n)=λ·ρ₂(n−1)+(1−λ)·s3(n)·s4(n) where λ is a smoothing parameter.

The squeeze detection operation for that group may comprise normalising the correlation coefficients ρ₁(n) and ρ₂(n) to produce respective normalised correlation coefficients based on the equations:

${{\overset{\sim}{\rho}}_{1}(n)} = \frac{\min\left( {{\max\left( {{\rho_{1}(n)},0} \right)},\gamma} \right)}{\gamma}$ ${{\overset{\sim}{\rho}}_{2}(n)} = \frac{\min\left( {{\max\left( {{\rho_{2}(n)},0} \right)},\gamma} \right)}{\gamma}$ where γ is a parameter representing a maximum expected squared force.

The squeeze detection operation for the group may comprise determining a squeeze force level signal y(n) based on the equation: y(n)=min(ρ₁(n)+ρ₂(n),1).

The squeeze detection operation for the group may comprise detecting the user squeeze input based on the squeeze force level signal y(n).

The controller may be configured to control operation of the device based on detection of the user squeeze input, optionally by outputting a control signal based on detection of the user squeeze input. The device may comprise one or more input/output components, wherein the controller is configured to control operation of at least one of the input/output components based on detection of the user squeeze input.

Each of the force sensors may comprise one or more of: a capacitive displacement sensor; an inductive force sensor; a strain gauge; a piezoelectric force sensor; a force sensing resistor; a piezoresistive force sensor; a thin film force sensor; and a quantum tunnelling composite-based force sensor.

According to a second aspect of the present disclosure, there is provided a controller for use in a device comprising a pair of force sensors located for detecting a user squeeze input, the controller operable in a squeeze detection operation to detect the user squeeze input based on a cross-correlation between respective sensor signals originating from the pair of force sensors.

According to a third aspect of the present disclosure, there is provided a method of detecting a user squeeze input in a device comprising a pair of force sensors located for detecting the user squeeze input, the method comprising detecting the user squeeze input based on a cross-correlation between respective sensor signals originating from the pair of force sensors.

According to a fourth aspect of the present disclosure, there is provided a computer program which, when executed by a controller of a device comprising a pair of force sensors located for detecting a user squeeze input, causes the controller to carry out a squeeze detection operation to detect the user squeeze input based on a cross-correlation between respective sensor signals originating from the pair of force sensors.

According to a fifth aspect of the present disclosure, there is provided a device, comprising: a pair of force sensors located for detecting a user force input; and a controller operable in a detection operation to detect the user force input based on a cross-correlation between respective sensor signals originating from the pair of force sensors.

BRIEF DESCRIPTION OF THE DRAWINGS

Reference will now be made, by way of example only, to the accompanying drawings, of which:

FIG. 1 is a schematic diagram of a device according to an embodiment; and

FIG. 2 presents example graphs of sensor signals which may be received from the force sensors of the FIG. 1 device.

DETAILED DESCRIPTION

FIG. 1 is a schematic diagram of a device 100 according to an embodiment, for example a mobile or portable electrical or electronic device. Example devices 100 include a portable and/or battery powered host device such as a mobile telephone, a smartphone, an audio player, a video player, a PDA, a mobile computing platform such as a laptop computer or tablet and/or a games device.

As shown in FIG. 1, the device 100 may comprise an enclosure 101, a controller 110, a memory 120, a plurality of force sensors 130, and an input and/or output unit (I/O unit) 140.

The enclosure 101 may comprise any suitable housing, casing, or other enclosure for housing the various components of device 100. Enclosure 101 may be constructed from plastic, metal, and/or any other suitable materials. In addition, enclosure 101 may be adapted (e.g., sized and shaped) such that device 100 is readily transported by a user (i.e. a person).

Controller 110 may be housed within enclosure 101 and may include any system, device, or apparatus configured to control functionality of the device 100, including any or all of the memory 120, the force sensors 130, and the I/O unit 140. Controller 110 may be implemented as digital or analogue circuitry, in hardware or in software running on a processor, or in any combination of these.

Thus controller 110 may include any system, device, or apparatus configured to interpret and/or execute program instructions or code and/or process data, and may include, without limitation a processor, microprocessor, microcontroller, digital signal processor (DSP), application specific integrated circuit (ASIC), FPGA (Field Programmable Gate Array) or any other digital or analogue circuitry configured to interpret and/or execute program instructions and/or process data. Thus the code may comprise program code or microcode or, for example, code for setting up or controlling an ASIC or FPGA. The code may also comprise code for dynamically configuring re-configurable apparatus such as re-programmable logic gate arrays. Similarly, the code may comprise code for a hardware description language such as Verilog™ or VHDL. As the skilled person will appreciate, the code may be distributed between a plurality of coupled components in communication with one another. Where appropriate, such aspects may also be implemented using code running on a field-(re)programmable analogue array or similar device in order to configure analogue hardware. Processor control code for execution by the controller 110, may be provided on a non-volatile carrier medium such as a disk, CD- or DVD-ROM, programmed memory such as read only memory (Firmware), or on a data carrier such as an optical or electrical signal carrier. The controller 110 may be referred to as control circuitry and may be provided as, or as part of, an integrated circuit such as an IC chip.

Memory 120 may be housed within enclosure 101, may be communicatively coupled to controller 110, and may include any system, device, or apparatus configured to retain program instructions and/or data for a period of time (e.g., computer-readable media). In some embodiments, controller 110 interprets and/or executes program instructions and/or processes data stored in memory 120 and/or other computer-readable media accessible to controller 110.

The force sensors 130 may be housed within, be located on or form part of the enclosure 101, and may be communicatively coupled to the controller 110. Each force sensor 130 may include any suitable system, device, or apparatus for sensing a force, a pressure, or a touch (e.g., an interaction with a human finger) and for generating an electrical or electronic signal in response to such force, pressure, or touch. Example force sensors 130 include or comprise capacitive displacement sensors, inductive force sensors, strain gauges, piezoelectric force sensors, force sensing resistors, piezoresistive force sensors, thin film force sensors and quantum tunnelling composite-based force sensors.

In some arrangements, the electrical or electronic signal generated by a force sensor 130 may be a function of a magnitude of the force, pressure, or touch applied to the force sensor (a user force input). Such electronic or electrical signal may comprise a general purpose input/output (GPIO) signal associated with an input signal in response to which the controller 110 controls some functionality of the device 100. The term “force” as used herein may refer not only to force, but to physical quantities indicative of force or analogous to force such as, but not limited to, pressure and touch.

The I/O unit 140 may be housed within enclosure 101, may be distributed across the device 100 (i.e. it may represent a plurality of units) and may be communicatively coupled to the controller 110. Although not specifically shown in FIG. 1, the I/O unit 140 may comprise any or all of a microphone, an LRA (or other device capable of outputting a force, such as a vibration), a radio (or other electromagnetic) transmitter/receiver, a speaker, a display screen (optionally a touchscreen), an indicator (such as an LED), a sensor (e.g. accelerometer, temperature sensor, tilt sensor, electronic compass, etc.) and one or more buttons or keys.

As a convenient example to keep in mind, the device 100 may be a haptic-enabled device. As is well known, haptic technology recreates the sense of touch by applying forces, vibrations, or motions to a user. The device 100 for example may be considered a haptic-enabled device (a device enabled with haptic technology) where its force sensors 130 (input transducers) measure forces exerted by the user on a user interface (such as a button or touchscreen on a mobile telephone or tablet computer), and an LRA or other output transducer of the I/O unit 140 applies forces directly or indirectly (e.g. via a touchscreen) to the user, e.g. to give haptic feedback. Some aspects of the present disclosure, for example the controller 110 and/or the force sensors 130, may be arranged as part of a haptic circuit, for instance a haptic circuit which may be provided in the device 100. A circuit or circuitry embodying aspects of the present disclosure (such as the controller 110) may be implemented (at least in part) as an integrated circuit (IC), for example on an IC chip. One or more input or output transducers (such as the force sensors 130 or an LRA) may be connected to the integrated circuit in use.

Of course, this application to haptic technology is just one example application of the device 100 comprising the plurality of force sensors 130. The force sensors 130 may simply serve as generic input transducers to provide input signals to control other aspects of the device 100, such as a GUI (graphical user interface) displayed on a touchscreen of the I/O unit 140 or an operational state of the device 100 (such as waking components from a low-power “sleep” state).

The device 100 is shown comprising four force sensors 130, labelled s1, s2, s3 and s4, with their signals labelled S1, S2, S3 and S4, respectively. However, it will be understood that the device 100 generally need only comprise a pair of (i.e. at least two) force sensors 130 in connection with the techniques described herein, for example any pair of the sensors s1 to s4. Example pairs comprise s1 and s2, s1 and s3, s1 and s4, s2 and s4, s2 and s3, and s3 and s4. The four force sensors 130 s1 to s4 are shown for ready understanding of a particular arrangement described later. Of course, the device 100 may comprise more than four force sensors 130, such as additional sensors s5 to s8 arranged in a similar way to sensors s1 to s4 but in another area of the device 100.

Although FIG. 1 is schematic, it will be understood that the sensors s1 to s4 are located so that they can receive force inputs from a user, in particular a user hand, during use of the device 100. A user force input in this context corresponds to a user touching, pushing, pressing, or swiping the device, optionally with one or both of their hands, in the vicinity of one or more of the force sensors 130 so that a force (e.g. a threshold amount of force) may be applied at multiple force sensors at or substantially at the same time (simultaneously or contemporaneously) in some cases. Of course, in some cases the user may apply a user force input at a single force sensor 130. A change in the amount of force applied may be detected, rather than an absolute amount of force detected, for example.

Thus, the force sensors s1 to s4 may be located on the device according to anthropometric measurements of a human hand (e.g. so that a single human hand will likely apply a force to multiple force sensors when squeezing the device 100). For example, where there is only a pair of force sensors 130, they may be provided on the same side (e.g. s1 and s3), or on opposite sides (e.g. s1 and s2), of the device 100. It will be understood that the force sensors 130 are provided at different locations on the device, but may be in close proximity to one another.

In overview, taking a pair of force sensors 130 as a minimum case, the controller 110 is operable to perform a squeeze detection operation to detect a user squeeze input, the squeeze detection operation being a function of sensor signals originating from the respective force sensors 130 of the pair.

In this context, a user squeeze input comprises a user applying forces (e.g. with one or both of their hands) which together compress the device. Such forces may be applied at at least two different locations on the device at the same time, such as on at least two different sides or edges of the device. For example, such forces may be applied on at least two opposite or opposing sides or edges of the device at the same time. With the force sensors at different locations on the device (on the same side or edge of the device, or on different sides or edges of the device as mentioned earlier) such a user squeeze input may be picked up.

The squeeze detection operation involves operating on both of the sensor signals originating from the pair of force sensors 130, where each of them has its own sensor signal. The squeeze detection operation may be considered to comprise a comparison of the sensor signals originating from the pair of force sensors 130, where each of them has its own sensor signal. The controller 110 is thus connected to receive sensor signals, in digital or analogue form, originating from the force sensors 130.

The squeeze detection operation (e.g. the comparison of the sensor signals) may comprise determining a detection value based on the sensor signals, in particular a cross-correlation value as described in more detail later.

FIG. 2 presents example graphs of analogue (time domain) signals s1(t), s2(t), s3(t) and s4(t), which may be received from the force sensors s1, s2, s3 and s4, respectively, based on an example user squeeze applied to the device 100 by a user hand. In each graph, the x-axis represents time (e.g. measured in seconds, or milliseconds), and the y-axis represents force (e.g. measured in Newtons). It will be appreciated that the analogue signals may be voltage signals, in which case the y-axis unit may be volts (e.g. millivolts) but still be representative of detected force.

Also shown in FIG. 2 in schematic form alongside each of the graphs is an analogue-to-digital conversion of the each of the analogue (time domain) signals s1(t), s2(t), s3(t) and s4(t) to corresponding digital (digital domain) signals s1(n), s2(n), s3(n) and s4(n), respectively. The analogue-to-digital conversion could be carried out by corresponding analogue-to-digital converters (ADCs, not shown), which could be provided within the force sensors 130, within the controller 110, or between the force sensors 130 and the controller 110. The force sensors 130 could be digital force sensors which output digital signals s1(n), s2(n), s3(n) and s4(n) directly.

It will be apparent from FIG. 2 that by considering the sensor signals from at least a pair of the force sensors 130 it may be possible to detect a user squeeze input, i.e. a user squeezing the device so that a force is applied at multiple force sensors at the same time (simultaneously or contemporaneously).

There are several ways to consider the sensor signals from at least a pair of the force sensors 130. Taking the minimum case of considering the sensor signals from (only) a pair of the force sensors 130, the detection value may comprise or be a correlation value (cross-correlation value), determined by calculating a correlation between the sensor signals.

In some arrangements where the sensor signals are digital signals, the cross-correlation value is calculated as a cross-product of the sensor signals concerned (i.e. of their magnitudes) on a sample-by-sample basis. Smoothing of the cross-correlation values may be carried out. For example, for a given sample, the cross-correlation value may be generated as an updated cross-correlation value by updating an existing cross-correlation value based on a new cross-correlation value determined based on the sensor signals for that sample. In some arrangements, the updated cross-correlation value is based on the existing cross-correlation value to an extent defined by a smoothing parameter, or is based on a combination (e.g. sum) of a proportion of the existing cross-correlation value and a proportion of the new cross-correlation value, those proportions defined by the smoothing parameter. Those proportions may for example sum to 1 (100%), e.g. being 0.9 (90%) and 0.1 (10%), or 0.7 (70%) and 0.3 (30%). In this respect, the cross-correlation value may be considered a smoothed cross-product of the respective sensor signals originating from the pair of force sensors. Other examples of smoothing may include taking a running average (e.g. of a given number of cross-correlation values) such as a sliding window average (with a given or adaptable window size), or low-pass filtering.

The detection value may comprise a summation value, determined by summing the sensor signals. As another example, the detection value may comprise a difference value, determined by calculating a difference between the sensor signals. As another example, the detection value may comprise a multiplication value, determined by multiplying the sensor signals one by the other. As another example, the detection value may comprise a division value, determined by dividing the sensor signals one by the other. As another example, the detection value may comprise a convolution value, determined by convolving the sensor signals one with the other. Of course, combinations of these values may be used in the squeeze detection operation.

It will be appreciated that the sensor signals or the detection values (in particular, cross-correlation values) may be subject to conversion (e.g. analogue-to-digital), normalisation, filtering (e.g. high-pass, low-pass or band-pass frequency filtering), averaging (e.g. finding a running average) or other signal conditioning operations. The detection values may for example be normalised to a maximum expected force value, and then converted to a percentage (or a fraction of a defined maximum value). The detection values may for example be bounded, between given maximum and minimum boundary values such as 0 and 1.

In some arrangements, the squeeze detection operation compares the detection value with a threshold value. For example, the squeeze detection operation may determine whether the detection value exceeds the threshold value. The controller 110 may be configured to control the threshold value based on one or more of a device configuration, a device setting and a user input.

The squeeze detection operation may involve determining whether the detection value exceeds the threshold value for a threshold period of time, or exceeds the threshold value over a threshold percentage of a threshold period of time. The controller 110 may be configured to control the threshold period and/or the threshold percentage based on one or more of a device configuration, a device setting and a user input.

As in FIG. 1, the device 100 may comprise a plurality of pairs of force sensors 130. For example, the device 100 is shown as having two pairs of force sensors 130, e.g. s1 and s2 as one pair, and s3 and s4 as another pair. Each of these pairs may be considered located for detecting a corresponding (different) user squeeze input. The controller 110 may be operable, for each pair of force sensors 130 (i.e. on a pair-by-pair basis), to carry out a squeeze detection operation to detect the corresponding user squeeze input. Those operations may be carried out at least in part in parallel or in series (sequentially).

Where there are at least two pairs of force sensors 130, as in FIG. 1, those pairs may be located on the device 100 for detecting the same user squeeze input. The controller 110 may be operable to detect the user squeeze input corresponding to those pairs of force sensors 130 based on a combination of the squeeze detection operations carried out for those pairs. For example, the controller 110 may combine detection values for the two detection operations in some way (e.g. take an average), for example after normalisation or bounding.

Where there are more than two force sensors 130, as in FIG. 1, those force sensors may be considered to form a group of force sensors 130 (the group comprising a pair of force sensors 130) located on the device 100 for detecting a user squeeze input corresponding to that group. The squeeze detection operation, for that group, may be a function (comprising a comparison) of the respective sensor signals originating from at least three of the force sensors 130 of the group.

As a detailed example based on FIG. 1, the group may be considered to comprise the force sensors 130 s1, s2, s3 and s4. In line with FIG. 2, it may be considered that the sensor signals originating from the group are digital signals s1(n), s2(n), s3(n) and s4(n), corresponding respectively to the force sensors s1, s2, s3 and s4 and each comprising a series of numbered samples, where n is the sample number.

In that case, the squeeze detection operation for the group may comprise calculating correlation (cross-correlation) coefficients ρ₁(n) and ρ₂(n) as example cross-correlation values based on the equations: ρ₁(n)=λ·ρ₁(n−1)+(1−λ)·s1(n)·s2(n) ρ₂(n)=λ·ρ₂(n−1)+(1−λ)·s3(n)·s4(n) where λ is a smoothing (weighting or learning rate) parameter. Here, the correlation coefficients ρ₁(n) ρ₂(n) could be considered updated correlation coefficients and are based at least in part on previous or existing correlation coefficients ρ₁(n−1) and ρ₂(n−1) and newly-calculated coefficients (i.e. based on the current samples) s1(n).s2(n) and s3(n).s4(n), to an extent defined by the smoothing parameter. It can readily be seen above that the smoothing parameter λ determines the relative proportions of the existing and new coefficients that make up the updated coefficients. For example if λ is 0.9 then in the above equations an updated coefficient will be the sum of 90% of the existing coefficient and 10% of the new coefficient concerned.

Thus, the above equations may be considered to calculate smoothed cross-products. Other methods of smoothing include averaging (e.g. calculating a running average or sliding window average or time-based or multiple-sample-based average) and low-pass filtering. Of course, it may be that only one of the correlation coefficients ρ₁(n) and ρ₂(n) is calculated, e.g. where only two force sensors are employed, however the present example where both are calculated will be continued.

The above equations for the correlation coefficients ρ₁(n) and ρ₂(n) may be considered a simplification of more general cross-correlation equations which take account of a potentially variable window size w and hardware delay Δ (e.g. a relative delay between the signals provided by the force sensors 130), the above simplification using w=1 and Δ=0.

Such a more general cross-correlation equation is indicated below for the correlation coefficient ρ₁(n), where i is the sensor index: ρ₁(n)=λρ₁(n−1)+(1−λ)s ₁(n−Δ)s ₂ ^(T)(n) s _(i)(n)=[s _(i)(n−w+1),s _(i)(n−w+2), . . . ,s _(i)(n)]

It will be appreciated that there may be a hardware delay between the force sensors 130, and it may be desirable in some applications to use a larger window size than 1, or for example to vary the window size dynamically.

The correlation coefficients ρ₁(n) and ρ₂(n) may be normalised to produce respective normalised correlation coefficients as follows:

${{\overset{\sim}{\rho}}_{1}(n)} = \frac{\min\left( {{\max\left( {{\rho_{1}(n)},0} \right)},\gamma} \right)}{\gamma}$ ${{\overset{\sim}{\rho}}_{2}(n)} = \frac{\min\left( {{\max\left( {{\rho_{2}(n)},0} \right)},\gamma} \right)}{\gamma}$ where γ is a parameter representing the maximum expected squared force.

These normalised correlation coefficients are bounded between 0 and 1, and may be combined as follows to provide the squeeze force level y(n): y(n)=min({tilde over (ρ)}₁(n)+{tilde over (ρ)}₂(n),1)

The squeeze detection operation for said group may comprise detecting the user squeeze input based on the squeeze force level signal y(n), for example by comparing the signal with a threshold. It will be appreciated that only one of the correlation coefficients ρ₁(n) and ρ₂(n) (e.g. ρ₁(n)) may have been normalised to produce a corresponding normalised correlation coefficient as above, and this value used as the squeeze force level y(n).

Parameter values for the smoothing parameter λ and the maximum expected squared force parameter γ (and window size w and hardware delay Δ if used) may differ from application to application, and may be varied dynamically. Of course, one or more of these parameters may be tuneable, for example dynamically based on any of the signals s1(n), s2(n), s3(n), s4(n) and y(n) or based on a tuning input, or set for a given application or based on a user input.

The operations described herein are dependent at least to an extent on the arrangement of the force sensors 130 in the device 100, and relate in particular to how the input sensor signals are handled in the controller 110. The skilled person will accordingly recognise that aspects of the operations disclosed herein (and associated methods) may be embodied within the controller 110 itself based on the input sensor signals it receives. As such, the controller 110 itself and the methods it carries out (and corresponding computer programs) may embody the present invention.

Turning back to FIG. 1, the controller 110 may be configured to control operation of the device 100 based on detection of the user squeeze input. For example, the controller 110 may be configured to control operation of itself or of at least one of the input/output components of the I/O unit 140 based on detection of the user squeeze input. In the context of haptic functionality, the controller 110 may be configured to control an LRA within the I/O unit 140 based on detection of the user squeeze input.

As another example, the user squeeze input may be taken to be a user input in connection with a GUI (graphical user interface) displayed on a touchscreen of the device 100. Of course, numerous other examples will occur to the skilled person, the user squeeze input simply serving as a generic user input which may be taken advantage of in any way.

It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. The word “comprising” does not exclude the presence of elements or steps other than those listed in the claim, “a” or “an” does not exclude a plurality, and a single feature or other unit may fulfil the functions of several units recited in the claims. Any reference numerals or labels in the claims shall not be construed so as to limit their scope. 

The invention claimed is:
 1. A device, comprising: a pair of force sensors located for detecting a user squeeze input; and a controller operable in a squeeze detection operation to detect the user squeeze input based on a cross-correlation between respective sensor signals originating from the pair of force sensors, wherein at least one said pair of force sensors is part of a group of force sensors located on the device for detecting the user squeeze input corresponding to the group, wherein: said group comprises force sensors s1, s2, s3 and s4; the sensor signals originating from the group are digital signals s1(n), s2(n), s3(n) and s4(n) corresponding respectively to the force sensors s1, s2, s3 and s4 and each comprising a series of numbered samples, where n is the sample number; and the squeeze detection operation for said group comprises calculating correlation coefficients ρ₁(n) and ρ₂(n) based on the equations: ρ₁(n)=λ·ρ₁(n−1)+(1−λ)·s1(n)·s2(n) ρ₂(n)=λ·ρ₂(n−1)+(1−λ)·s3(n)·s4(n) where λ is a smoothing parameter.
 2. The device as claimed in claim 1, wherein said user squeeze input comprises a user applying forces: with one or both of their hands; and/or which together compress the device; and/or at at least two different locations on the device at the same time; and/or on at least two different sides or edges of the device at the same time; and/or on at least two opposite or opposing sides or edges of the device at the same time.
 3. The device as claimed in claim 1, wherein said pair of force sensors are provided: at different locations on the device; and/or on the same side or edge of the device, or on different sides or edges of the device, or on opposite or opposing sides or edges of the device; and/or on the device at locations according to anthropometric measurements of a human hand.
 4. The device as claimed in claim 1, wherein the squeeze detection operation comprises determining a cross-correlation value based on said sensor signals and detecting the user squeeze input based on the cross-correlation value.
 5. The device as claimed in claim 4, wherein determining the cross-correlation value comprises determining a sliding dot product, a cross-product, a product, a sum or a combination of the sensor signals originating from the pair of force sensors.
 6. The device as claimed in claim 4, wherein the respective sensor signals originating from the pair of force sensors are digital signals, and the squeeze detection operation comprises determining the cross-correlation value on a sample-by-sample basis.
 7. The device as claimed in claim 6, wherein: for a given sample, the cross-correlation value is generated as an updated cross-correlation value by updating an existing cross-correlation value based on a new cross-correlation value determined based on the sensor signals for that sample, optionally wherein the updated cross-correlation value is based on the existing cross-correlation value to an extent defined by a smoothing parameter, or is based on a combination or sum of a proportion of the existing cross-correlation value and a proportion of the new cross-correlation value, those proportions defined by the smoothing parameter; and/or the cross-correlation value is generated as a smoothed or averaged cross-product of the respective sensor signals originating from the pair of force sensors.
 8. The device as claimed in claim 4, wherein the squeeze detection operation comprises: at least one of normalising, filtering and bounding the cross-correlation value; and/or normalising the cross-correlation value to a maximum expected force value; and/or converting the cross-correlation value into a percentage or a fraction of a defined maximum value; and/or comparing the cross-correlation value with a threshold value.
 9. The device as claimed in claim 8, wherein the squeeze detection operation comprises determining whether the cross-correlation value exceeds the threshold value.
 10. The device as claimed in claim 9, configured to control the threshold value based on one or more of a device configuration, a device setting and a user input.
 11. The device as claimed in claim 8, wherein the squeeze detection operation comprises determining whether the cross-correlation value exceeds the threshold value for a threshold period of time, or by a threshold percentage of the threshold period of time.
 12. The device as claimed in claim 1, comprising a plurality of said pairs of force sensors, each pair located for detecting a corresponding user squeeze input, wherein: the controller is operable, for each said pair of force sensors, to carry out a said squeeze detection operation to detect the corresponding user squeeze input.
 13. The device as claimed in claim 1, at least two said pairs of force sensors being located on the device for detecting the same user squeeze input, wherein: the controller is operable to detect the user squeeze input corresponding to those pairs of force sensors based on a combination of the squeeze detection operations carried out for those pairs, optionally by combining cross-correlation values determined in respect of each of those pairs.
 14. The device as claimed in claim 1, at least one said pair of force sensors being part of a group of force sensors located on the device for detecting the user squeeze input corresponding to the group, wherein: the squeeze detection operation, for said group, comprises comparing respective sensor signals originating from at least three of the force sensors of the group.
 15. The device as claimed in claim 1, wherein: the squeeze detection operation for said group comprises normalising the correlation coefficients ρ₁(n) and ρ₂(n) to produce respective normalised correlation coefficients based on the equations: ${{\overset{\sim}{\rho}}_{1}(n)} = \frac{\min\left( {{\max\left( {{\rho_{1}(n)},0} \right)},\gamma} \right)}{\gamma}$ ${{\overset{\sim}{\rho}}_{2}(n)} = \frac{\min\left( {{\max\left( {{\rho_{2}(n)},0} \right)},\gamma} \right)}{\gamma}$ where γ is a parameter representing a maximum expected squared force.
 16. The device as claimed in claim 15, wherein: the squeeze detection operation for said group comprises determining a squeeze force level signal y(n) based on the equation: y(n)=min({tilde over (ρ)}₁(n)+{tilde over (ρ)}₂(n),1).
 17. The device as claimed in claim 16, wherein the squeeze detection operation for said group comprises detecting the user squeeze input based on the squeeze force level signal y(n).
 18. The device as claimed in claim 1, wherein the controller is configured to control operation of the device based on detection of the user squeeze input, optionally by outputting a control signal based on detection of the user squeeze input.
 19. A controller for use in a device comprising a pair of force sensors located for detecting a user squeeze input, the controller operable in a squeeze detection operation to detect the user squeeze input based on a cross-correlation between respective sensor signals originating from the pair of force sensors, wherein at least one said pair of force sensors is part of a group of force sensors located on the device for detecting the user squeeze input corresponding to the group, wherein: said group comprises force sensors s1, s2, s3 and s4; the sensor signals originating from the group are digital signals s1(n), s2(n), s3(n) and s4(n) corresponding respectively to the force sensors s1, s2, s3 and s4 and each comprising a series of numbered samples, where n is the sample number; and the squeeze detection operation for said group comprises calculating correlation coefficients ρ₁(n) and ρ₂(n) based on the equations: ρ₁(n)=λ·ρ₁(n−1)+(1−λ)·s1(n)·s2(n) ρ₂(n)=λ·ρ₂(n−1)+(1−λ)·s3(n)·s4(n) where λ is a smoothing parameter. 